define(["require", "exports", "maishu-ui-toolkit"], function (require, exports, ui) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    let errorMessages = {
        "726": "没有权限访问"
    };
    function default_1(error, app, page) {
        error.message = errorMessages[error.name] || error.message;
        ui.alert({
            title: "错误",
            message: error.message
        });
    }
    exports.default = default_1;
});
